function formatTime(date) {
  var year = date.getFullYear()
  var month = date.getMonth()
  var day = date.getDate()
  
  // var hour = date.getHours()
  // var minute = date.getMinutes()
  // var second = date.getSeconds()
 var hour = 7
  var minute = 0
  var second = 0

  // return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
  return [year, month, day]
}

function formatNumber(n) {
  n = n.toString()
  return n[1] ? n : '0' + n
}

module.exports = {
  formatTime: formatTime
}
